#!/bin/bash
# rmtemp.sh
#
# Removes file whose name ends in ~

# Scans the scurent dir looking for filenames with an ending ~
for file in *[~]
do
	# Removes the file...
	rm -f $file
	# ... And prints what has been done
	echo "Removed file \"$file\""
done

exit 0
